const worker=new Worker("./worker.js")

//创建32位缓冲区
const arrayBuffer=new ArrayBuffer(32);

console.log(arrayBuffer.byteLength);

worker.postMessage({foo:{bar:arrayBuffer}},[arrayBuffer]);

console.log(arrayBuffer.byteLength);

